public class Value {
    private double cost;//费用
    private long time;//耗时(秒)
    private double distance;//距离
    public Value(double cost, long time ,double distance) {
        this.cost = cost;
        this.time = time;
        this.distance = distance;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }
}
